<!DOCTYPE html>
<html lang="en">
<body>
<h1 id="text" onclick="show()">哈哈</h1>
<script>


</script>

</body>
<head>
    <meta charset="UTF-8">
    <script>
        person = new Object()
        person.name = "李白"
        person.age = 23
        for (v in person)
            document.write(person[v])
    </script>
</head>
</html>